/*
    变长数组演示
*/
#include <stdio.h>
int main() {
    int size = 0, num = 0;
    printf("请输入一个整数：");
    scanf("%d",&size);
    int arr[size];
    for(num = 0; num <= size-1; num++) {
	arr[num] = num;
    }
    for (num = 0; num <= size -1; num++) {
	printf("%d ", arr[num]);
    }
    printf("\n");
    return 0;
}
